package com.qfedu.mapper;

/**
 * @author ghy
 * @version V1.0
 * @date 2022/06/20
 **/

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qfedu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @version 1.0
 * 公众号：Java架构栈
 * @Author: 卓不凡
 */
@Mapper   //声明当前类是mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("Select * from tb_user where id= #{id}")
    User selectUser(int id);
}
